﻿using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{
    /// <summary>
    /// 微信信息
    /// 2017年10月17日
    /// Dy
    /// </summary>
    public class config_WX
    {
       
        [Property("Key")]
        public int ID { get; set; }
        /// <summary>
        /// 机构id
        /// </summary>
        public int? Eid { get; set; }
        /// <summary>
        /// 公众号Url
        /// </summary>
        public string GZHurl { get; set; }
        /// <summary>
        ///  公众号Token
        /// </summary>
        public string GZHToken { get; set; }
        /// <summary>
        ///   公众号AppId
        /// </summary>
        public string AppId { get; set; }
        /// <summary>
        ///   公众号AppSecret
        /// </summary>
        public string AppSecret { get; set; }
        /// <summary>
        /// 第三方url
        /// </summary>
        public string ThirdpartyUrl { get; set; }
        /// <summary>
        /// 第三方Secret
        /// </summary>
        public string ThirdpartySecret { get; set; }
        /// <summary>
        /// 商户名
        /// </summary>
        public string CommercialName { get; set; }
        /// <summary>
        /// 微信商户号
        /// </summary>
        public string mchid { get; set; }
        /// <summary>
        /// 商户秘钥
        /// </summary>
        public string CommercialKey { get; set; }
        /// <summary>
        /// 证书地址
        /// </summary>
        public string CredentialAddress { get; set; }
        /// <summary>
        /// 证书密码
        /// </summary>
        public string CredentialPwd { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int? ChangeLoginID { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public string ChangeLoginName { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public System.DateTime ChangeDate { get; set; }

        /// <summary>
        ///   1通过  0未通过
        /// </summary>
        public int? AppState { get; set; }

        /// <summary>
        ///   1通过  0未通过  微信商户号信息验证是否通过
        /// </summary>
        public int? InfoState { get; set; }

    }
}
